package com.zhongkai.app.service;

import com.zhongkai.model.utils.ZhongkaiResult;

/**
 * app用户管理
 * */
public interface AppUserService {


    //用户添加
    ZhongkaiResult addUser(
            String uuid,
            String name,
            String phone,
            String password,
            String address,
            String province,
            String city,
            String country,
            String sex
            ) throws Exception;



    //用户修改
    ZhongkaiResult updateUser(
            Long id,
            String name,
            String phone,
            String password,
            String address,
            String province,
            String city,
            String country,
            String sex
    );

    ZhongkaiResult removeUser(Long id); //删除用户

    ZhongkaiResult listUser(Integer page, Integer rows);//分页获取用户
}
